package com.ruoyi.project.medicinal.service.impl;

import com.ruoyi.project.medicinal.domain.StockPurchase;
import com.ruoyi.project.medicinal.mapper.PurchaseMapper;
import com.ruoyi.project.medicinal.service.PurchaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PurchaseServiceImpl implements PurchaseService {

    @Autowired
    private PurchaseMapper purchaseMapper;

    @Override
    public List<StockPurchase> selectProvList(StockPurchase purchase) {
        return purchaseMapper.selectPurList(purchase);
    }
}
